package cn.com.thingo.hyintelligent.base.contract;


import cn.com.thingo.hyintelligent.base.BasePresenter;
import cn.com.thingo.hyintelligent.base.BaseView;
import cn.com.thingo.hyintelligent.model.bean.CommonBean;
import cn.com.thingo.hyintelligent.model.bean.DoorLockAuthBean;

public interface DoorAuthContract {

    interface View extends BaseView {
        void viewAddDoorAuth(CommonBean commonBean);

        void viewDelDoorAuth(CommonBean commonBean);

        void viewDoorLockAuthList(DoorLockAuthBean doorLockAuthBean);
    }

    interface Presenter extends BasePresenter<DoorAuthContract.View> {
        void addDoorAuth(String token, String gatewayId, String telephone);

        void delDoorAuth(String token, String gatewayId, String telephone);

        void doorLockAuthList(String token, String gatewayId);

    }
}
